#ifndef _LIGHTBLOB_
#define _LIGHTBLOB_
#include <opencv2/opencv.hpp>
#include <iostream>
#include <vector>
#include <memory>

class LightBlob;

using Blob_ptr = std::shared_ptr<LightBlob>;

class LightBlob
{
    public:
    double blob_length;
    double blob_width;
    bool isMatched = false;
    double color_distance0;
    double color_distance1;
    double sum_scale_error;
    std::vector<cv::Point2f> corners = std::vector<cv::Point2f>(2);
    std::vector<cv::Point> blob_contour;
    double angle;
};
#endif